using Avalonia.Controls;
using AvaAI批量点评系统.ViewModels;

namespace AvaAI批量点评系统.Views;

public partial class CommentPreviewView : UserControl
{
    public CommentPreviewView()
    {
        InitializeComponent();
        DataContext = new CommentPreviewViewModel();
    }
    
    /// <summary>
    /// 获取ViewModel实例
    /// </summary>
    public CommentPreviewViewModel? ViewModel => DataContext as CommentPreviewViewModel;
}
